projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
321ce33
)
(fcntl.h): Test only HAVE_FCNTL_H.
author
Richard M. Stallman
<rms@gnu.org>
Wed, 4 Dec 2002 11:44:34 +0000
(11:44 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Wed, 4 Dec 2002 11:44:34 +0000
(11:44 +0000)
src/fileio.c
patch
|
blob
|
history
src/sysdep.c
patch
|
blob
|
history
diff --git
a/src/fileio.c
b/src/fileio.c
index 0b06e4fee344b5cd3667cb8b24deaa4f1a711158..890ef2de3710be6a3e31ae1ba233192b86e4d0d6 100644
(file)
--- a/
src/fileio.c
+++ b/
src/fileio.c
@@
-21,7
+21,7
@@
Boston, MA 02111-1307, USA. */
#include <config.h>
-#if
defined (USG5) || defined (BSD_SYSTEM) || defined (GNU_LINUX)
+#if
def HAVE_FCNTL_H
#include <fcntl.h>
#endif
diff --git
a/src/sysdep.c
b/src/sysdep.c
index 28ab676c69cf0eaa36ddae15064186bd0e06ae35..322869eb71e9cd048d4ab08289df4af72a7afcb1 100644
(file)
--- a/
src/sysdep.c
+++ b/
src/sysdep.c
@@
-147,17
+147,9
@@
extern int errno;
#include <sys/file.h>
#endif /* not VMS */
-#ifndef BSD4_1
-#ifdef BSD_SYSTEM /* avoid writing defined (BSD_SYSTEM) || defined (USG)
- because the vms compiler doesn't grok `defined' */
+#ifdef HAVE_FCNTL_H
#include <fcntl.h>
#endif
-#ifdef USG
-#ifndef USG5
-#include <fcntl.h>
-#endif
-#endif
-#endif /* not 4.1 bsd */
#ifndef MSDOS
#include <sys/ioctl.h>